package com.hn.birthdaymatch.constants;


/**
 * 消息常量*
 */
public interface MessageConstant {

    /**
     * crud消息提示*
     */
    static final String ADD_SUCCESS = "添加成功";
    static final String ADD_FAILURE = "添加失败";
    static final String DELETE_SUCCESS = "删除成功";
    static final String DELETE_FAILURE = "删除失败";
    static final String SEARCH_SUCCESS = "查询成功";
    static final String SEARCH_FAILURE = "查询失败";
    static final String UPDATE_SUCCESS = "修改成功";
    static final String UPDATE_FAILURE = "修改失败";

    /**
     * 系统提示*
     */
    static final String LOGIN_SUCCESS = "登录成功";
    static final String REGISTER_SUCCESS = "注册成功";
    static final String VERIFICATION_CODE_ERROR = "验证码错误";
    static final String PROJECT_NOT_FOUND = "项目不存在";
    static final String FILE_IS_EMPTY = "文件为空";
    static final String FILE_NOT_FOUND = "文件不存在";
    static final String FORBIDDEN = "权限不足";
    static final String INTERNAL_SERVER_ERROR = "内部服务器错误";
    static final String VERIFICATION_CODE_IS_INVALID = "验证码已失效";
    static final String USER_DOES_NOT_EXIST = "该用户不存在";
    static final String USERNAME_OR_PASSWORD_IS_INCORRECT = "用户名或密码错误";
    static final String USER_IS_LIMITED = "用户受限,请联系管理员";
    static final String USER_NOT_LOGGED = "用户未登录";
    static final String INVITATION_CODE_IS_INCORRECT = "邀请码错误";
    static final String INVITATION_CODE_IS_INVALID = "邀请码已失效";
    static final String USERNAME_IS_NOT_NULL = "用户名不能为空";
    static final String PASSWORD_IS_NOT_NULL = "密码不能为空";
    static final String EMAIL_IS_ERROR = "邮箱格式错误";
    static final String PHONE_IS_ERROR = "手机号格式错误";
    static final String USERNAME_CANNOT_CONTAIN_CHINESE_CHARACTERS = "用户名不能包含中文";
    static final String PASSWORD_CANNOT_CONTAIN_CHINESE_CHARACTERS = "密码不能包含中文";
    static final String USERNAME_MUST_CONTAIN_6_TO_18_CHARACTERS = "用户名的长度必须在6~18位之间";
    static final String PASSWORD_MUST_CONTAIN_6_TO_20_CHARACTERS = "密码的长度必须在6~20位之间";
    static final String PASSWORD_FORMAT_IS_ERROR = "密码至少包含两种(大写字母、小写字母、数字和特殊字符)";
    static final String SEX_PARAMS_ERROR = "性别参数错误";
    static final String OLD_PASSWORD_ERROR = "原密码错误";
    static final String STATUS_FORMAT_ERROR = "状态格式错误";
    static final String USER_ALREADY_EXISTS = "该用户已存在";
    static final String TOKEN_NOT_EXIST = "令牌不存在";
    static final String EMAIL_ADDRESS_HAS_BOUND_OTHER_USER = "该邮箱已绑定其他账号";
    static final String LOGIN_METHOD_EXCEPTION = "登录方式异常";
    static final String EMAIL_NOT_EXIST = "该邮箱未绑定账号,请使用用户名的方式登录";
    static final String PASSWORD_EMAIL_CODE_AND_VALIDATION = "密码和邮箱验证码不能同时为空,且只能传递一个";
    static final String USER_HAS_BEEN_CLOSED = "该账号已注销";
    static final String EMAIL_ADDRESS_IS_NOT_BOUND_TO_USER="该邮箱非找回账号所绑定的";
    static final String UNI_IDENTIFICATION_IS_NULL = "唯一身份认证标识不能为空";
    static final String UNI_IDENTIFICATION_ERROR = "唯一身份认证标识错误";
    static final String VERIFY_SUCCESS = "验证成功";
    static final String VERIFY_FAILURE = "验证失败";
}
